home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FishMarket 1.0
/
FishMarket v1.0.iso
/
fishies
/
551-575
/
disk_556
/
scheme2c
/
scheme-doc.lzh
/
doc
/
sci.man
< prev
Wrap
Text File
|
1991-10-11
|
5KB
|
198 lines
local SCI(1)
NAME
sci - Scheme interpreter
SYNTAX
sci [ option ]
DESCRIPTION
The sci command invokes a Scheme interpreter. The language
accepted by this interpreter is that defined in the essen-
tial portions of the _R_e_v_i_s_e_d_3 _R_e_p_o_r_t _o_n _t_h_e _A_l_g_o_r_i_t_h_m_i_c
_L_a_n_g_u_a_g_e _S_c_h_e_m_e, with minor constraints and some additions.
The Scheme interpreter is written in Scheme which has then
been compiled using the Scheme-to-C compiler, scc.
OPTIONS
These options are accepted by sci.
-e Echo text read from the standard input file
on the standard output file.
-emacs Scheme interpreter is controlled by GNU
emacs.
-nh Do not print the interpreter version header
on the standard output file.
-np Do not prompt for input from the standard
input file on the standard output file.
-q Do not print the result of each expression
evaluation.
-scgc _s_t_a_t_f_l_a_g
Enables garbage collection statistics. If
set to 1, then garbage collection statistics
will be printed. The default is 0, that will
result in no statistics.
-sch _h_e_a_p Define the size of the heap in megabytes.
The default heap size is 4 MB.
-schf _h_e_a_p_f_i_l_e
Define a file containing a saved heap image
that is to be used to initialize the heap.
-scl _p_e_r_c_e_n_t Specifies the percent of the heap allocated
after a generational garbage collection that
will force a full collection.
-scm _m_a_i_n Define the function that should be used
instead of the predefined "main". The
1
SCI(1) local
function name must be entered in the correct
case, i.e. letters typically upshifted.
ENVIRONMENT VARIABLES
The items controlled by -_s_c.. flags can also be controlled
by environment variables. If both the flag and the environ-
ment variable are provided, then the flag's value will be
used.
SCGCINFO Controls the reporting of garbage collection
statistics to the standard error file. If
set to 1, then garbage collection statistics
will be printed. The default setting is 0
that will not print the statistics.
SCHEAP Defines the size of the heap in megabytes.
The default heap size is 4 MB.
SCHEAPFILE Controls initialization of the heap from a
saved heap image. If supplied, then the heap
will be loaded from the file.
SCLIMIT Defines the percent of the heap allocated
after a generational garbage collection that
will force a full collection. The default is
33.
FILES
The interpreter is one a.out file with the name _s_c_i. All
files associated with the interpreter are found in the
directory .../_s_c_h_e_m_e_t_o_c/_s_c_r_t.
SEE ALSO
Harold Abelson and Gerald Jay Sussman with Julie Sussman,
_S_t_r_u_c_t_u_r_e _a_n_d _I_n_t_e_r_p_r_e_t_a_t_i_o_n _o_f _C_o_m_p_u_t_e_r _P_r_o_g_r_a_m_s, The MIT
Press.
Jonathan Rees and William Clinger (Editors), _R_e_v_i_s_e_d_3 _R_e_p_o_r_t
_o_n _t_h_e _A_l_g_o_r_i_t_h_m_i_c _L_a_n_g_u_a_g_e _S_c_h_e_m_e, SIGPLAN Notices, V21,
#12, December 1986.
R. Kent Dybvig, _T_h_e _S_C_H_E_M_E _P_r_o_g_r_a_m_m_i_n_g _L_a_n_g_u_a_g_e, Prentice
Hall, Inc.
Daniel P. Friedman and Matthias Felleisen, _T_h_e _L_i_t_t_l_e
_L_I_S_P_e_r, MIT Press.
Joel Bartlett, documentation files in .../_s_c_h_e_m_e_t_o_c/....
scc(1)
2
local SCI(1)
QUESTIONS, COMMENTS, AND COMPLAINTS
bartlett@decwrl.dec.com
3